<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<link th:href="@{/static/css/bootstrap.min.css}" type="text/css" rel="stylesheet">
	<link th:href="@{/static/css/calendar.css}" type="text/css" rel="stylesheet">
	<link th:href="@{/static/css/article_browse.css}" type="text/css" rel="stylesheet">
	<link th:href="@{/static/css/header.css}" type="text/css" rel="stylesheet">
	<link th:href="@{/static/css/layer.css}" type="text/css" rel="stylesheet">
	<link th:href="@{/static/css/markwork_htmlview.css}" type="text/css" rel="stylesheet">
	<link th:href="@{/static/iconfonts/iconfont.css}" type="text/css" rel="stylesheet">
	<!--<link href="./css/layui.css" type="text/css" rel="stylesheet">-->
	<script type="text/javascript" th:src="@{/static/js/jquery-1.11.3.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/bootstrap.min.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/calendar.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/layer.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/article_browse.js}"></script>
	<script type="text/javascript" th:src="@{/static/js/header.js}"></script>
<meta charset="utf-8">
<title>文章阅读</title>
</head>
<body>
<header>
	<div th:include="/user/header :: header"></div>
</header>
<div class="container-my row">
	<div class="col-md-3 row pull-left">
		<div class="sidebar sidebar-user">
			<ul>
				<li class="art-headimg">
				<img th:src="${article['art_headurl']}" class="img-circle">
			</li>
				<li class="art-nickname">
					<a href="#">[[${article['art_nickname']}]]</a>
				</li>
				<li class="sidebar-user right">
					<div class="attention-btn">关注</div><br>
					<a href="#">TA的主页&nbsp;&gt;</a>
				</li>
			</ul>
			<div class="network-age">已生活：一年11个月</div> 
		</div>
		<div class="sidebar sidebar-calendar">
			<div id="calendar" class="calendar"></div>
		</div>
		<div class="sidebar sidebar-label"></div>
	</div>
	<div class="main col-md-9 pull-right">
		<div class="art-head">
			<h3 class="art-title">[[${article['art_title']}]]</h3>
			<ul class="pull-left">
				<li>[[${article['create_time']}]]</li>
				<li><a href="#"><u>[[${article['art_nickname']}]]</u></a></li>
			</ul>
			<ul class="pull-right">
				<li id="comment_num">评价 - [[${article['comment_num']}]]</li>
				<li>阅读 - 45</li>
			</ul>
		</div>
		<input type="hidden" id="article_Id" th:value="${article['art_id']}" />
		<div class="art-body" id="content">
			[[${article['art_content']}]]
		</div>
		<div class="art-nav row">
			<ul class="art-other">
				<li class="pull-left" th:if="${article.article_prev != null}" th:object="${article.article_prev}">
					<span class="pull-left">«&nbsp;上一篇&nbsp;</span>
					<span class="text pull-left" th:title="*{title}"><a th:href="*{'/'+ username + '/article/details/' + aid}" th:text="*{title}"></a></span>
				</li>
				<li class="pull-right" th:if="${article.article_next != null}" th:object="${article.article_next}">
					<span class="pull-right">&nbsp;下一篇&nbsp;»</span>
					<span class="text pull-right text-right" th:title="*{title}"><a th:href="*{'/'+ username + '/article/details/' + aid}" th:text="*{title}"></a></span>
				</li>
			</ul>
		</div>
		<!--评价列表-->
		<div class="comments_panel row" id="comments_panel">
			<form action="#" class="col-md-12">
				<textarea class="comment_textarea" placeholder="您有什么想法要说的吗？" id="comment_textarea"></textarea>
				<div class="comment_bottom">
					<text><span id="char_num">0</span>/1000</text>
					<input type="button" class="btn btn-danger btn-sm" id="comment_submit" value="发表评价" />
				</div>
			</form>
			<div class="comments_list_panel col-md-12">
				<div class="title">评价列表</div>
				<div class="comments_list" id="comments_list">
					<!--评价内容-->
					<div class="default_background">暂无评价</div>
				</div>
			</div>
		</div>
	</div>
</div>
<footer></footer>
</body>
</html>
